﻿using System.Collections.Generic;
using Shuba.Model;

namespace Shuba.Business
{
    public class RegionalClusterMap
    {
        private Data.RegionalClusterMap RegionalCluster;

        public RegionalClusterMap()
        {
            RegionalCluster = new Data.RegionalClusterMap();
        }

        public List<RegionalClusterMapInfo> GetList(string value)
        {
            return RegionalCluster.GetList(value);
        }
        public RegionalClusterMapInfo Get(string RegionalID, string ClusterID)
        {
            return RegionalCluster.Get(RegionalID, ClusterID);
        }

        public RegionalClusterMapInfo GetApprovalByID(string RegionalID, string ClusterID)
        {
            return RegionalCluster.GetApprovalByID(RegionalID, ClusterID);
        }

        public List<RegionalClusterMapInfo> GetListApproval(string value, string UpdateBy)
        {
            return RegionalCluster.GetListApproval(value, UpdateBy.TrimEnd());
        }

        public void Save(RegionalClusterMapInfo RegionMapInfo)
		{
            RegionalCluster.Save(RegionMapInfo);
		}
    
        public void Approve(string RegionalId, string ClusterId, string ActType)
        {
            RegionalCluster.Approve(RegionalId, ClusterId, ActType);
        }

        public void Reject(string RegionalId, string ClusterId)
        {
            RegionalCluster.Reject(RegionalId, ClusterId);
        }
    }
}
